#ifndef BADDIEDATA_H
#define BADDIEDATA_H

#include <vector>
#include "../binge/core/Timer.h"
#include "../binge/system/Data.h"

class BaddieData : public binge::Data
{
public:
    BaddieData(void);
    ~BaddieData(void);

    virtual void AddObject(int id);
    virtual void RemoveObject(int id);

    int GetPointValue(int id);
    void SetPointValue(int id, int value);

    float GetSpeed(int id);
    void SetSpeed(int id, float value);

    bool IsDisabled(int id);
    void SetDisabled(int id, bool value);

    unsigned int GetDisabledTimer(int id);
    void SetDisabledTimer(int id, unsigned int value);

    unsigned int GetDisabledStart(int id);
    void SetDisabledStart(int id, unsigned int value);

    binge::Timer timer;

private:
    std::vector<int> objectsPointValue;
    std::vector<float> objectsSpeed;
    std::vector<bool> objectsDisabled;
    std::vector<unsigned int> objectsDisabledTimer;
    std::vector<unsigned int> objectsDisabledStart;
};

#endif // BADDIEDATA_H
